package cn.edu.nyist.service;

import cn.edu.nyist.entity.Region;
import cn.edu.nyist.entity.RentHouse;
import cn.edu.nyist.util.PageBean;

import java.util.List;
import java.util.Map;

/**
 * (RentHouse)表服务接口
 *
 * @author makejava
 * @since 2021-03-21 17:54:46
 */
public interface RentHouseService {

    PageBean<RentHouse> queryPage(Map<String, Object> paramMap);

    PageBean<RentHouse> queryPageBelongUser(Map<String, Object> paramMap);


    int insertRentHouse(RentHouse rentHouse);

    RentHouse selectById(Integer id);

    int delByRentHouseIds(List<Integer> ids);

    int editByRentHouse(RentHouse rentHouse);

    RentHouse selectByRegion(String region);

}